#include "MainWindow.hh"

#include <QtGui>
#include <QApplication>

int main(int argc, char *argv[])
{
    QApplication a(argc, argv);
    XmlClient client("localhost", 55555);
    QString user = (argc >= 2) ? argv[1] : "";
    QString pass = (argc >= 3) ? argv[2] : "";
    MainWindow mw(&client, user, pass);
    mw.show();
    return a.exec();
}
